package com.lanou.moving.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 梁树珍 on 15/11/4.
 */
public class MVClassify implements Serializable{

    /**
     * pageCount : 0
     * page : 0
     * totalCount : 0
     * data : [{"id":3,"parentId":0,"order":1,"subType":[{"id":22,"parentId":3,"order":1,"name":"高热"},{"id":13,"parentId":3,"order":2,"name":"神曲"},{"id":14,"parentId":3,"order":3,"name":"性感"},{"id":15,"parentId":3,"order":4,"name":"舞曲"},{"id":17,"parentId":3,"order":6,"name":"中国风"},{"id":18,"parentId":3,"order":7,"name":"爱情"},{"id":19,"parentId":3,"order":8,"name":"经典"},{"id":20,"parentId":3,"order":9,"name":"演唱会"},{"id":11,"parentId":3,"order":10,"name":"影视"}],"name":"类型"},{"id":1,"parentId":0,"order":2,"subType":[{"id":4,"parentId":1,"order":1,"name":"内地"},{"id":5,"parentId":1,"order":2,"name":"港台"},{"id":6,"parentId":1,"order":3,"name":"欧美"},{"id":7,"parentId":1,"order":4,"name":"韩国"},{"id":8,"parentId":1,"order":5,"name":"日本"}],"name":"地区"},{"id":2,"parentId":0,"order":3,"subType":[{"id":10,"parentId":2,"order":1,"name":"官方版"},{"id":12,"parentId":2,"order":3,"name":"现场版"}],"name":"版本"}]
     * code : 1
     * msg : ok
     * size : 0
     */
    private int pageCount;
    private int page;
    private int totalCount;
    private List<DataEntity> data;
    private int code;
    private String msg;
    private int size;

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPageCount() {
        return pageCount;
    }

    public int getPage() {
        return page;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public int getSize() {
        return size;
    }

    public class DataEntity implements Serializable{
        /**
         * id : 3
         * parentId : 0
         * order : 1
         * subType : [{"id":22,"parentId":3,"order":1,"name":"高热"},{"id":13,"parentId":3,"order":2,"name":"神曲"},{"id":14,"parentId":3,"order":3,"name":"性感"},{"id":15,"parentId":3,"order":4,"name":"舞曲"},{"id":17,"parentId":3,"order":6,"name":"中国风"},{"id":18,"parentId":3,"order":7,"name":"爱情"},{"id":19,"parentId":3,"order":8,"name":"经典"},{"id":20,"parentId":3,"order":9,"name":"演唱会"},{"id":11,"parentId":3,"order":10,"name":"影视"}]
         * name : 类型
         */
        private int id;
        private int parentId;
        private int order;
        private List<SubTypeEntity> subType;
        private String name;

        public void setId(int id) {
            this.id = id;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public void setOrder(int order) {
            this.order = order;
        }

        public void setSubType(List<SubTypeEntity> subType) {
            this.subType = subType;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public int getParentId() {
            return parentId;
        }

        public int getOrder() {
            return order;
        }

        public List<SubTypeEntity> getSubType() {
            return subType;
        }

        public String getName() {
            return name;
        }

        public class SubTypeEntity {
            /**
             * id : 22
             * parentId : 3
             * order : 1
             * name : 高热
             */
            private int id;
            private int parentId;
            private int order;
            private String name;

            public void setId(int id) {
                this.id = id;
            }

            public void setParentId(int parentId) {
                this.parentId = parentId;
            }

            public void setOrder(int order) {
                this.order = order;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public int getParentId() {
                return parentId;
            }

            public int getOrder() {
                return order;
            }

            public String getName() {
                return name;
            }
        }
    }
}
